package com.test.demoproject.service.impl;

import com.test.demoproject.entity.Dict;
import com.test.demoproject.mapper.DemoMapper;
import com.test.demoproject.service.DemoService;
import groovy.lang.Script;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DemoServiceImpl extends Script implements DemoService   {
    @Autowired
    DemoMapper demoMapper;
    @Override
    public List<Dict> select(String key) {
        return demoMapper.select(key);
    }

    @Override
    public Object run() {
        return null;
    }
}
